package com.company.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.company.management.domain.req.PerformanceResultPageReq;
import com.company.management.domain.req.PerformanceResultsReq;
import com.company.management.domain.rsp.PerformanceEvalResultsResp;
import com.company.management.modal.entity.PerformanceResults;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author robet.li
 * @since 2025-03-02
 */
@Mapper
public interface PerformanceResultsMapper extends BaseMapper<PerformanceResults> {

    /**
     * 查询绩效考核结果
     * @param req
     * @return
     */
    List<PerformanceEvalResultsResp> getPerformanceEvalResults(PerformanceResultPageReq req);

    /**
     * 查询绩效考核结果详情
     * @param req
     * @return
     */
    PerformanceEvalResultsResp getPerformanceEvalResultsDetail(PerformanceResultsReq req);

}
